The trajectory of a body moving in a constant gravitational field is one of the simplest and yet most practical of problems in classical physics. The Lagrangian for the system is
with the corresponding Hamiltonian
The equations of motion for the canonical coordinates are
Since both px and py are constant, their conjugate coordinates are linear in the temporal coordinate
while the vertical coordinate affected by gravity is quadratic
and its conjugate momentum is linear:
The simplicity of this system makes it ideal for seeing the mechanism of Hamilton-Jacobi theory in action, without being as trivial as the equally tractable simple harmonic oscillator. While the Hamilton-Jacobi formalism is massive overkill for projectile motion, it is a convenient opportunity to understand the essence of the formalism.
Hamilton-Jacobi theory determines the classical action from the first-order nonlinear differential equation
where linear momenta are replaced by partial derivatives of the action with respect to their conjugate coordinates. The equation for the case of projectiles is
Since the potential is a function of the vertical coordinate only, the equation is separable if the action is a linear sum of the form
where the coefficient of the explicit temporal variable is chosen in accordance with the defining equation. The Hamilton-Jacobi equation for projectiles becomes
which is easily integrated. The action in terms of canonical coordinates is thus
The action is equivalently given by an indefinite integral of the Lagrangian:
To verify this, the Lagrangian must be expressed in terms of constant quantities and the temporal variable. The most efficient way to do this is to replace the potential energy part of the Lagrangian using the expression for total energy,
so that the action integral is
which matches the previous result up to a constant of integration.
The differential equation defining the classical action, known as the Hamilton-Jacobi equation, is derived by treating the action as a generating function that induces a transformation of the Hamiltonian to generalized coordinates in which it is identically zero. If the Hamiltonian is identically zero,
then the new generalized coordinates are all constant. The new momenta are traditionally designated with alphas and for projectile motion can be taken as
The new conjugate coordinates, traditionally designated with betas, are given by partial derivatives of the action:
Explicit temporal behavior is determined in the Hamiltonian-Jacobi formalism by evaluating these derivatives and inverting them for the original variables. For projectile motion,
which do not yet look much like the simple equations given at the outset. The first equation gives a replacement for the square root,
so that the second and third equations become
Square the remaining equation and rearrange:
The quantity in the first set of parentheses is the sum of three constants. From the definition of total energy it is equal to
and as constant can be evaluated at any convenient point. Put this initial evaluation into the remaining equation:
Thus with the identifications
one has the explicit temporal behavior
which is exactly that given at the outset, after a detour through Hamilton-Jacobi theory. The identifications of the constant betas are not arbitrary choices, and can be verified by putting these equations into the partial derivatives of the action.
Happy Pi Day!
Uploaded 2017.03.14 — Updated 2017.04.13 analyticphysics.com